/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.mer.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kaaction.common.persistence.Page;
import com.kaaction.common.service.CrudService;
import com.kaaction.modules.mer.entity.Color;
import com.kaaction.modules.mer.dao.ColorDao;

/**
 * 颜色Service
 * @author huanghaiming
 * @version 2017-05-21
 */
@Service
@Transactional(readOnly = true)
public class ColorService extends CrudService<ColorDao, Color> {

	public Color get(String id) {
		return super.get(id);
	}
	
	public List<Color> findList(Color color) {
		return super.findList(color);
	}
	
	public Page<Color> findPage(Page<Color> page, Color color) {
		return super.findPage(page, color);
	}
	
	@Transactional(readOnly = false)
	public void save(Color color) {
		super.save(color);
	}
	
	@Transactional(readOnly = false)
	public void delete(Color color) {
		super.delete(color);
	}
	
}